package com.poker.wiki.controller;


//import com.ctrip.framework.apollo.Config;
//import com.ctrip.framework.apollo.ConfigService;
import com.poker.common.service.ConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/test")
public class testController {
//    @Autowired
//    ConfigService configService;
//    @Autowired
//    ConfigService configService;

    @RequestMapping("/hello")
    public String hello() {
//        log.info("testtesttesttesttest + " + configService.getProperty("pokerAAA", "123"));
        return "hello";
    }
}
